delete df rows where column value = 0: mult cols

33

df.loc[(df[['a', 'b']] != 0).all(axis=1)]

Comments

Submit
0 Comments